# 定义字典
dic = {'name':'ljm', 'number':20214201, 'test':123}
# 打印字典
print(dic)
# 访问字典
print(dic['number'])
# 修改字典
dic['test'] = 456
# 删除字典(元素)
del dic['test']
print(dic)
# 清空字典
dic.clear()
print(dic)